#box {
    width: 300px;
    height: 300px;
    background-image: url('../imgs/angular.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    display: flex;
    backface-visibility: hidden;
}

#box1 {
    width: 300px;
    height: 200px;
}

#box1 img {
    max-width: 100%;
    height: auto;
}